﻿/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
	padding-top: 50px;
}


/*
 * Global add-ons
 */

.sub-header {
	padding-bottom: 10px;
	border-bottom: 1px solid #eee;
}


/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
	display: none;
}

@media (min-width: 768px) {
	.sidebar {
		position: fixed;
		top: 51px;
		bottom: 0;
		left: 0;
		z-index: 1000;
		display: block;
		padding: 20px;
		overflow-x: hidden;
		overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
		background-color: #f5f5f5;
		border-right: 1px solid #eee;
	}
}

/* Sidebar navigation */
.nav-sidebar {
	margin-right: -21px; /* 20px padding + 1px border */
	margin-bottom: 20px;
	margin-left: -20px;
}

	.nav-sidebar > li > a {
		padding-right: 20px;
		padding-left: 20px;
	}

	.nav-sidebar > .active > a {
		color: #fff;
		background-color: #428bca;
	}


/*
 * Main content
 */

.main {
	padding: 20px;
}

@media (min-width: 768px) {
	.main {
		padding-right: 40px;
		padding-left: 40px;
	}
}

.main .page-header {
	margin-top: 0;
}

/*
 * Placeholder dashboard ideas
 */
.table.record-list img {
	height: 50px;
	margin: 0px;
}

.table.grouped tr td:first-child {
	width: 50px;
}

.table tr.group td {
	border-collapse: collapse;
	border-top: none;
	border-bottom: solid 1px #000000;
	padding-top: 20px;
	padding-bottom: 0;
	text-align: left;
	font-weight: bold;
	color: #000000;
	background: none;
}

.table tr.group td:hover {
  background: none;
}


/*
 * Placeholder dashboard ideas
 */

.placeholders {
	margin-bottom: 30px;
	text-align: center;
}

	.placeholders h4 {
		margin-bottom: 0;
	}

.placeholder {
	margin-bottom: 20px;
}

	.placeholder img {
		display: inline-block;
		border-radius: 50%;
	}

.data-group {
	border: 1px rgb(221, 221, 221) solid;
	border-top: none;
	padding: 45px 15px 15px 15px;
	position: relative;
}

	.data-group > span {
		position: absolute;
		top: 15px;
		left: 15px;
		font-size: 12px;
		font-weight: 700;
		color: #bbb;
		text-transform: uppercase;
		letter-spacing: 1px;
	}

.alert {
	cursor: pointer;
}
